// 该插件用于支持vite进行vue开发，安装vite时同步安装
import vue from "@vitejs/plugin-vue";

import { Plugin } from "vite";
import setupAutoImportPlugin from "./AutoImport";
import setupComponentsPlugin from "./Components";

export default function createPlugins() {
  const plugins: Plugin[] = [vue()];
  plugins.push(setupAutoImportPlugin());
  plugins.push(setupComponentsPlugin());
  return plugins;
}
